package router

import (
	"gin/internal/handler"
	"github.com/gin-gonic/gin"
)

func Router(r *gin.Engine) {

	Course := r.Group("course")
	{
		Course.GET("/info", handler.CourseInfo)
		Course.GET("/detail/:id", handler.CourseDetail)
	}

}
